package lab02.test20;

import java.util.Scanner;

public class test20 {
    public static void main(String[] args) {
        //从键盘输入一行含有数字和字符的字符串
       String result;
        //从键盘输入数据
        Scanner scanner=new Scanner(System.in);
        result=scanner.next();
      //  System.out.println(result);

        //程序仅输出数字字
        char tmp;
        int i;
        for (i=0;i<result.length();i++){
            tmp=result.charAt(i);
            if (tmp>='0'&& tmp<='9'){
                System.out.print(tmp);
            }
        }
    }
}
